package com.dexgdx.game.json;

import java.io.Serializable;

import com.dexgdx.game.constants.EPlayerType;
import com.dexgdx.game.util.ObjectIdentification;

public class JSONActor implements Serializable{

	private static final long serialVersionUID = -6045737556135900095L;
	
	private EPlayerType ePlayerType;
	private ObjectIdentification playerIdentification;
	
	private boolean isSimpleActorRegion;
	
	private float x;
	private float y;
	private float height;
	private float width;

	private float movementSpeed;
	private String moveDirection;
	
	private String imagePath;

	public JSONActor() {
		super();
		// TODO Auto-generated constructor stub
	}

	public JSONActor(EPlayerType ePlayerType, boolean isSimpleActorRegion, float x,
			float y, float height, float width, String imagePath, float movementSpeed, String moveDirection, ObjectIdentification playerIdentification) {
		super();
		this.ePlayerType = ePlayerType;
		this.isSimpleActorRegion = isSimpleActorRegion;
		this.x = x;
		this.y = y;
		this.height = height;
		this.width = width;
		this.imagePath = imagePath;
		this.movementSpeed = movementSpeed;
		this.moveDirection = moveDirection;
		this.playerIdentification = playerIdentification;
		
	}
	
	public boolean isSimpleActorRegion() {
		return isSimpleActorRegion;
	}

	public void setSimpleActorRegion(boolean isSimpleActorRegion) {
		this.isSimpleActorRegion = isSimpleActorRegion;
	}

	public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}

	public float getHeight() {
		return height;
	}

	public void setHeight(float height) {
		this.height = height;
	}

	public float getWidth() {
		return width;
	}

	public void setWidth(float width) {
		this.width = width;
	}

	public String getImagePath() {
		return imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public EPlayerType getPlayerType() {
		return ePlayerType;
	}

	public void setPlayerType(EPlayerType ePlayerType) {
		this.ePlayerType = ePlayerType;
	}

	public float getMovementSpeed() {
		return movementSpeed;
	}

	public String getMoveDirection() {
		return moveDirection;
	}

	public ObjectIdentification getPlayerIdentification() {
		return playerIdentification;
	}

}
